package com.ktjy.temp.mqtt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


@MapperScan("com.ktjy.temp.mqtt.mapper")
@ComponentScan(basePackages = "com.ktjy")
@EnableDiscoveryClient //向注册中心注册该服务
@SpringBootApplication
public class IotTempMqttApplication {

    public static void main(String[] args) {
        SpringApplication.run(IotTempMqttApplication.class, args);
    }

}
